.modal.farris-modal {
    .actions {
        flex: 1;
        margin: -$farris-modal-header-padding-y * 0.5 0;

        ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: flex-end;
        }

        .f-btn-icon {
            cursor: pointer;
            color: $f-text-07;
            text-align: center;

            &:hover {
                color: $f-theme-05;
            }

            &:active {
                color: $f-theme-01;
            }
        }

        .modal-tips-iconwrap {
            .f-icon {
                font-size: $farris-modal-icon-size;
            }

            .modal-tips-content {
                padding-top: $farris-modal-text-padding-top;
            }
        }
    }

    .ng-draggable {
        cursor: move;
    }

    .modal-dialog {
        max-width: none;
        margin: 0;
        top: 50%;
        left: 50%;
        position: absolute;
        pointer-events: all;
    }

    // 移除拖动时候动画响应慢的情况
    &.fade .modal-dialog {
        transform: none;
        transition: none;
    }

    .modal-content {
        height: 100%;
        overflow: hidden;
    }

    .modal-body {
        padding: 0;
    }
}

.k-grid-table {
    transform: none !important;
}

.ng-resizable {
    position: relative;
}

.ng-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    display: block;
    touch-action: none;

    &:hover {
        background: rgba(42, 135, 255, 0.07);
    }

    &.ng-resizable-e {
        cursor: e-resize;
        width: 0.4375rem;
        right: -0.3125rem;
        height: 100%;
        top: 0;
    }

    &.ng-resizable-w {
        cursor: w-resize;
        width: 0.4375rem;
        left: -0.3125rem;
        height: 100%;
        top: 0;
    }

    &.ng-resizable-s {
        cursor: s-resize;
        height: 0.4375rem;
        bottom: -0.3125rem;
        width: 100%;
        left: 0;
    }

    &.ng-resizable-n {
        cursor: n-resize;
        height: 0.4375rem;
        top: -0.3125rem;
        width: 100%;
        left: 0;
    }

    &.ng-resizable-se {
        cursor: se-resize;
        width: 0.75rem;
        height: 0.75rem;
        right: 1px;
        bottom: 1px;
    }

    &.ng-resizable-sw {
        cursor: sw-resize;
        width: 0.75rem;
        height: 0.75rem;
        left: 1px;
        bottom: 1px;
    }

    &.ng-resizable-ne {
        cursor: ne-resize;
        width: 0.75rem;
        height: 0.75rem;
        right: 1px;
        top: 1px;
    }

    &.ng-resizable-nw {
        cursor: nw-resize;
        width: 0.75rem;
        height: 0.75rem;
        left: 1px;
        top: 1px;
    }
}

.ng-resizable-diagonal {
    width: 0;
    height: 0;
    border-bottom: 0.75rem solid transparent;
    border-left: 0.75rem solid transparent;
}


// 弹出窗口内的样式 —— 未抽取变量
.farris-messager {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    .modal-tips {
        margin-bottom: 0;
        flex-shrink: 1;
        flex-grow: 1;
        flex-basis: auto;
        padding: 0 0 0 1.25rem;
        overflow-y: auto;
        display: flex;
        flex-direction: row;

        .modal-tips-iconwrap {
            margin: 0.5625rem 0;
            padding: 0;
        }

        .modal-tips-content {
            margin: 0;
            padding: 0.5625rem 0.9375rem 0.5625rem 0;
        }
    }

    .fixdiv {
        overflow: auto;
    }

}

// 增加自适应窗口消息提示
.f-modal-fitContent {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.f-modal-fitContent-scroll {
    align-items: flex-start;
}

.f-modal-fitContent .modal-dialog {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin: 1.875rem 0 !important;
    min-height: 7.5rem;
}

.f-modal-fitContent .farris-messager {
    position: relative !important;
}

.overlay-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.overlay-pane {
    position: absolute;
    pointer-events: auto;

    .comboPanel {
        position: absolute;
        overflow: auto;
        background: #fff;
        z-index: 9;
        margin-top: $farris-dropdown-spacer;
        box-shadow: $farris-dropdown-box-shadow;
        border-radius: $farris-dropdown-border-radius;

        combo2-list {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        // 边线去掉
        .f-datalist>.card {
            border: none;
        }
    }
}

/*新表单弹出窗口*/
.fe-cmp-page-modal {
    .action-wrapper {
        position: absolute;
        right: -12px;
        top: -12px;
        z-index: 400;

        .close-icon {
            background: rgba(0, 0, 0, 0.4);
            width: 22px;
            height: 22px;
            border-radius: 12px;
            color: #fff;
            text-align: center;
            line-height: 22px;
            display: block;

            &:hover {
                background: rgba(0, 0, 0, 0.6);
            }
        }
    }

    .close-icon .f-icon {
        font-size: 14px;
    }

    .action-list {
        position: absolute;
        right: -32px;
        top: 20px;
        color: rgba(255, 255, 255, 0.85);

        .action-list--item {
            display: block;
            width: 32px;
            height: 32px;
            text-align: center;
        }

        .action-list--icon {
            display: block;
            cursor: pointer;
            margin: 0 auto;
            line-height: 32px;
            border-radius: 0px 3px 3px 0px;

            &:hover {
                color: #fff;
            }
        }

        .max-icon {
            background: linear-gradient(-63deg, #517BFF 0%, #74A1FF 95%);
        }

        .close-icon {
            background: linear-gradient(-51deg, #FE6568 0%, #FA6568 0%, #F67574 100%);
        }

        .f-icon {
            font-size: 14px;
        }
    }

    .modal-body {
        border-radius: $farris-modal-content-border-radius;
    }
}

.fe-cmp-page-modal.modal .modal-content {
    overflow: visible;
}